<!-- box menu -->
<?php $this->renderPartial("application.views.layouts._menu");?>
<!-- End box menu -->

<div class="about">
        <?php $this->widget("BoxLogin");?>
        <h1><a>
        <img src="<?php  echo Yii::app()->params['static_url']; ?>images/tenweb-icon-DS-ma-nhung.png" alt="" class="kc_TB_td" /></a>
            <a href="#" class="xanhdam">Danh Sách Mã Nhúng Bạn Tạo</a>
        </h1>
        <div class="Tma_10">
        <ul>
               <?php
               foreach($embeds as $row){
                  
               ?>
                 <li>
                <a href="<?php echo Url::createUrl("tool/embedDetail",array("embed_id"=>$row["id"])) ?>"><img src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-icon-cacloaimanhung.png" alt="" width="24" height="16" class="kc_TB_td" /><?=$row["title"]?></a>
                </li>
               <?php
               }
?>
            </ul>
        </div>
        <?php 
            if($numberPage > 1) { 
                $url = Url::createUrl("tool/embedByUser");
                $url1 = rtrim($url,"/");
                $url.='/';
                echo "<div class=\"BC_nd_2\">";
                echo Paging::show_paging_wap_user($numberPage,$currentPage,$url,$url1); 
                echo " </div>";
            } 
        ?> 
</div>